<template>
  <div class="weather">
    <Icon class="icon" name="weather_sun" :size="20"></Icon>
    <div class="info">
      19<span class="unit">℃</span>~23<span class="unit">℃</span> 晴
      <div class="divider"></div>
      湿度 30
    </div>
  </div>
</template>

<script lang="ts" setup></script>
<style lang="scss" scoped>
.weather {
  display: flex;
  flex-direction: row;
  align-items: center;
  .info {
    display: flex;
    flex-direction: row;
    align-items: center;
    font-size: 22px;
  }
  .unit {
    font-size: 14px;
  }
}
.divider {
  height: 22px;
  width: 2px;
  background-color: #fff;
  margin: 0px 12px;
}
</style>
